------------
-- SYSTEM --
------------

--- constants ---

-- System.MSGDIALOG_RESULT_UNKNOWN1
-- System.MSGDIALOG_RESULT_YES
-- System.MSGDIALOG_RESULT_NO
-- System.MSGDIALOG_RESULT_BACK

-- System.OSK_RESULT_UNCHANGED
-- System.OSK_RESULT_CANCELLED
-- System.OSK_RESULT_CHANGED

-- System.OSK_INPUTTYPE_ALL
-- System.OSK_INPUTTYPE_LATIN_DIGIT
-- System.OSK_INPUTTYPE_LATIN_SYMBOL
-- System.OSK_INPUTTYPE_LATIN_LOWERCASE
-- System.OSK_INPUTTYPE_LATIN_UPPERCASE
-- System.OSK_INPUTTYPE_JAPANESE_DIGIT
-- System.OSK_INPUTTYPE_JAPANESE_SYMBOL
-- System.OSK_INPUTTYPE_JAPANESE_LOWERCASE
-- System.OSK_INPUTTYPE_JAPANESE_UPPERCASE
-- System.OSK_INPUTTYPE_JAPANESE_HIRAGANA
-- System.OSK_INPUTTYPE_JAPANESE_HALF_KATAKANA
-- System.OSK_INPUTTYPE_JAPANESE_KATAKANA
-- System.OSK_INPUTTYPE_JAPANESE_KANJI
-- System.OSK_INPUTTYPE_RUSSIAN_LOWERCASE
-- System.OSK_INPUTTYPE_RUSSIAN_UPPERCASE
-- System.OSK_INPUTTYPE_KOREAN
-- System.OSK_INPUTTYPE_URL


--- functions ---

-----------------------------------------------------------
---- System.msgDialog (message [, yesno [, drawFunc]]) ----
-----------------------------------------------------------
-----------------------------------------------------------
--- info --------------------------------------------------
-----------------------------------------------------------
-- Shows the Sony message dialog
-----------------------------------------------------------
--- params ------------------------------------------------
-----------------------------------------------------------
-- message 	(string) 
-- yesno	(boolean)	default: false
-- drawFunc	(function)	default: Gray screen
-----------------------------------------------------------
--- return ------------------------------------------------
-----------------------------------------------------------
-- System.MSGDIALOG_RESULT_* 
-----------------------------------------------------------

------------------------------------------------------------------------
---- System.osk(description, initalText [, inputtype [, drawFunc]]) ----
------------------------------------------------------------------------
------------------------------------------------------------------------
--- info ---------------------------------------------------------------
------------------------------------------------------------------------
-- Shows the Sony OSK
------------------------------------------------------------------------
--- params -------------------------------------------------------------
------------------------------------------------------------------------
-- description 	(string) 
-- initialText 	(string) 
-- inputtype	(System.OSK_INPUTTYPE_*)	default: System.OSK_INPUTTYPE_ALL
-- drawFunc		(function)					default: Gray screen
------------------------------------------------------------------------
--- return -------------------------------------------------------------
------------------------------------------------------------------------
-- string and System.OSK_RESULT_* 
------------------------------------------------------------------------



---------------
-- INTRAFONT --
---------------

--- constants ---

-- IntraFont.ADVANCE_H
-- IntraFont.ADVANCE_V
-- IntraFont.ALIGN_LEFT
-- IntraFont.ALIGN_RIGHT
-- IntraFont.ALIGN_CENTER
-- IntraFont.ALIGN_FULL
-- IntraFont.SCROLL_LEFT
-- IntraFont.SCROLL_SEESAW
-- IntraFont.SCROLL_RIGHT
-- IntraFont.SCROLL_THROUGH
-- IntraFont.WIDTH_VAR
-- IntraFont.WIDTH_FIX
-- IntraFont.ACTIVE
-- IntraFont.CACHE_MED
-- IntraFont.CACHE_LARGE
-- IntraFont.CACHE_ASCII
-- IntraFont.CACHE_ALL
-- IntraFont.STRING_ASCII
-- IntraFont.STRING_CP437
-- IntraFont.STRING_CP850
-- IntraFont.STRING_CP850
-- IntraFont.STRING_CP866
-- IntraFont.STRING_SJIS
-- IntraFont.STRING_GBK
-- IntraFont.STRING_KOR
-- IntraFont.STRING_BIG5
-- IntraFont.STRING_CP1251
-- IntraFont.STRING_CP1252
-- IntraFont.STRING_UTF8


--- functions ---

--------------------------------------------
---- IntraFont.load( fontfile, options) ----
--------------------------------------------
--------------------------------------------
--- info -----------------------------------
--------------------------------------------
-- Load a pgf font
--------------------------------------------
--- params ---------------------------------
--------------------------------------------
-- fontfile 	(string) 
-- options	 	(IntraFont.CACHE_*) 
--------------------------------------------
--- return ---------------------------------
--------------------------------------------
-- IntraFont 
--------------------------------------------

--------------------------------
---- IntraFont.unload(font) ----
--------------------------------
--------------------------------
--- info -----------------------
--------------------------------
-- Free the specified font
--------------------------------
--- params ---------------------
--------------------------------
-- font 	(IntraFont) 
--------------------------------
--- return ---------------------
--------------------------------
-- nil 
--------------------------------

----------------------------------
---- IntraFont.activate(font) ----
----------------------------------
----------------------------------
--- info -------------------------
----------------------------------
-- Activate the specified font
----------------------------------
--- params -----------------------
----------------------------------
-- font 	(IntraFont) 
----------------------------------
--- return -----------------------
----------------------------------
-- nil 
----------------------------------

-----------------------------------------------------------------------
---- IntraFont.setStyle( font, size, color, shadowColor, options ) ----
-----------------------------------------------------------------------
-----------------------------------------------------------------------
--- info --------------------------------------------------------------
-----------------------------------------------------------------------
-- Set font style
-----------------------------------------------------------------------
--- params ------------------------------------------------------------
-----------------------------------------------------------------------
-- font 		(IntraFont) 
-- size 		(number) 
-- color 		(Color) 
-- shadowColor 	(Color) 
-- options	 	(IntraFont.ALIGN_* and/or IntraFont.SCROLL_* and/or IntraFont.WIDTH_*) 
-----------------------------------------------------------------------
--- return ------------------------------------------------------------
-----------------------------------------------------------------------
-- nil 
-----------------------------------------------------------------------

-------------------------------------------------
---- IntraFont.setEncoding( font, options )  ----
-------------------------------------------------
-------------------------------------------------
--- info ----------------------------------------
-------------------------------------------------
-- Set type of string encoding
-------------------------------------------------
--- params --------------------------------------
-------------------------------------------------
-- font 	(IntraFont) 
-- options 	(IntraFont.STRING_*) 
-------------------------------------------------
--- return --------------------------------------
-------------------------------------------------
-- nil 
-------------------------------------------------

-----------------------------------------------
---- IntraFont.setAltFont( font, altFont ) ----
-----------------------------------------------
-----------------------------------------------
--- info --------------------------------------
-----------------------------------------------
-- Set alternative font
-----------------------------------------------
--- params ------------------------------------
-----------------------------------------------
-- font 	(IntraFont) 
-- altFont 	(IntraFont) 
-----------------------------------------------
--- return ------------------------------------
-----------------------------------------------
-- nil 
-----------------------------------------------

-------------------------------------------------------
---- IntraFont.measureText( font, text ) 		   ----
---- IntraFont.measureTextEx( font, text, lenght ) ----
-------------------------------------------------------
-------------------------------------------------------
--- info ----------------------------------------------
-------------------------------------------------------
-- Measure a length of text if it were to be drawn
-------------------------------------------------------
--- params --------------------------------------------
-------------------------------------------------------
-- font 	(IntraFont) 
-- text 	(string) 
-- lenght 	(number) 
-------------------------------------------------------
--- return --------------------------------------------
-------------------------------------------------------
-- number 
-------------------------------------------------------

--------------------------------------------------------------------
---- IntraFont.print( font, x, y, text ) 						----
---- IntraFont.printEx( font, x, y, text, lenght ) 				----
---- IntraFont.printColumn( font, x, y, width, text ) 			----
---- IntraFont.printColumnEx( font, x, y, width, text, lenght ) ----
--------------------------------------------------------------------
--------------------------------------------------------------------
--- info -----------------------------------------------------------
--------------------------------------------------------------------
-- Draw text
--------------------------------------------------------------------
--- params ---------------------------------------------------------
--------------------------------------------------------------------
-- font 	(IntraFont) 
-- x	 	(number) 
-- y	 	(number) 
-- width 	(number) 
-- text 	(string) 
-- lenght 	(number) 
--------------------------------------------------------------------
--- return ---------------------------------------------------------
--------------------------------------------------------------------
-- number (The x position after the last char)
--------------------------------------------------------------------

----------------------------------------------------------------
---- IntraFont.measureTextUCS2( font, ucs2_text ) 			----
---- IntraFont.measureTextUCS2Ex( font, ucs2_text, lenght ) ----
----------------------------------------------------------------
----------------------------------------------------------------
--- info -------------------------------------------------------
----------------------------------------------------------------
-- Measure a length of ucs2_text if it were to be drawn
----------------------------------------------------------------
--- params -----------------------------------------------------
----------------------------------------------------------------
-- font 		(IntraFont) 
-- ucs2_text	(table) 
-- lenght 		(number) 
----------------------------------------------------------------
--- return -----------------------------------------------------
----------------------------------------------------------------
-- number 
----------------------------------------------------------------

-----------------------------------------------------------------------------
---- IntraFont.printUCS2( font, x, y, ucs2_text ) 						 ----
---- IntraFont.printUCS2Ex( font, x, y, ucs2_text, lenght ) 			 ----
---- IntraFont.printColumnUCS2( font, x, y, width, ucs2_text ) 			 ----
---- IntraFont.printColumnUCS2Ex( font, x, y, width, ucs2_text, lenght ) ----
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
--- info --------------------------------------------------------------------
-----------------------------------------------------------------------------
-- Draw UCS-2 encoded text
-----------------------------------------------------------------------------
--- params ------------------------------------------------------------------
-----------------------------------------------------------------------------
-- font 		(IntraFont) 
-- x	 		(number) 
-- y	 		(number) 
-- width 		(number) 
-- ucs2_text	(table) 
-- lenght 		(number) 
-----------------------------------------------------------------------------
--- return ------------------------------------------------------------------
-----------------------------------------------------------------------------
-- number (The x position after the last char)
-----------------------------------------------------------------------------



---------
-- ZIP --
---------

--- functions ---

Zip.open(filename [, password])
Zip.close()
Zip.extract([overwrite [, extract_without_path]])
Zip.extractOneFile(filename, [overwrite [, extract_without_path]])
Zip.extractCurrentFile()
Zip.getNumberEntry()
Zip.goToFirstFile()
Zip.goToNextFile()
Zip.goToFile(filename)
Zip.getInfo()

